package com.yp.lession.redisqf211.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.yp.lession.redisqf211.entity.Emp;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cos
 * @since 2022-03-24
 */
public interface EmpService extends IService<Emp> {

    List<Emp> getList() throws JsonProcessingException;

    Emp empById(Integer eno) throws JsonProcessingException;

    boolean updateEmp(Emp emp);
}
